<?php
function apiResponse($msg, $code = 200, $data = '', $result_code = null, $type = 'json'){

}